import { request, pmiUrl } from '@/utils/request'

export function getFile() {
  return request({
    url: '/apk/record/last',
    method: 'get'
  })
}

export function getFileUpload(data) {
  return request({
    url: '/apk/record/upload',
    method: 'post',
    data
  })
}

export function getFileAdd(data) {
  return request({
    url: '/apk/record/add',
    method: 'post',
    params: data
  })
}

export function getFileEdit(data) {
  return request({
    url: '/apk/record/update',
    method: 'post',
    params: data
  })
}

//签到Build
export function sign9001() {
  return pmiUrl({
    url: '/login/9001',
    method: 'get'
  })
}
//签到信息保存
export function signSave9001(data) {
  return pmiUrl({
    url: '/login/response/9001',
    method: 'post',
    data
  })
}
//签退Build
export function signOut9002(data) {
  return pmiUrl({
    url: '/login/9002',
    method: 'get',
    params: data
  })
}


